/*
 *  EvaluationExp.h
 *  vCalc
 *
 *  Created by Vu Q. Du on 6/2/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

/**
 * evaluationEx.h
 * Copyright (C) 2011-06-03 - xrose
 */

#ifndef __evaluation__h__
#define __evaluation__h__
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>

typedef struct ex_node{
    int data;
    struct note *link;
} EX_LNODE;

void ex_show_stack(EX_LNODE *ptr);
int ex_empty(EX_LNODE *ptr);
void ex_push(EX_LNODE **ptr, int item);
void ex_pop(EX_LNODE **ptr, int *item);

int evaluate(char *postfix);
#endif //__evaluation__h__

